package com.example.demo.common.util.entity;

public class SysResultEnum extends ResultEnum{

    public SysResultEnum(Integer code, String msg) {
        super(code, msg);
    }

    /**字典*/
    public static final ResultEnum PARENT_DICT_NOT_EXIST = new ResultEnum(1000, "字典对象父id不存在");
    public static final ResultEnum DICT_NAME_REPEAT = new ResultEnum(1001, "字典名称重复");
    public static final ResultEnum DICT_VALUE_REPEAT = new ResultEnum(1002, "字典值重复");
    public static final ResultEnum DICT_TYPE_REPEAT = new ResultEnum(1003, "字典类型重复");

    /**文件*/
    public static final ResultEnum FILE_NOT_FOUND = new ResultEnum(2001, "文件不能为空！");
    public static final ResultEnum FILE_UPLOAD_ERROR = new ResultEnum(2002, "文件上传失败！");

}
